//引入axios
import request from '@/utils/requset';
//引入ts规则

//登录数据
// let url = 'http://106.12.150.223:8090/api/private/v1/';
async function getdenglu(user: string, parss: string) {
  const data = await request(
    'http://106.12.150.223:8090/api/private/v1/login',
    'POST',
    {
      username: user,
      password: parss,
    }
  );
  return data;
}

//暴露出去
export default { getdenglu };
